package org.example.demopaper.dao;

import org.example.demopaper.entity.Paper;

import java.util.List;

public interface PaperDao {
    public Integer insertPaper(Paper paper);
    public Integer editPaper(Paper paper);
    public Integer deletePaper(int id);
    public Paper getPaperById(int id);
    public List<Paper> getAllPapers();
}